package org.yinweichen.llm_dataset_backend.repository;

import org.yinweichen.llm_dataset_backend.entity.Evaluate;
import org.yinweichen.llm_dataset_backend.entity.EvaluateId;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EvaluateRepository extends JpaRepository<Evaluate, EvaluateId> {
    List<Evaluate> findAllByAnswerId(Long answerId);
}
